package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 服务分类对象 server_type
 * 
 * @author ruoyi
 * @date 2021-11-13
 */
public class ServerType extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 服务名 */
    @Excel(name = "服务名")
    private String CName;

    /** 父id**/
    private Long parentid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCName(String CName) 
    {
        this.CName = CName;
    }

    public String getCName() 
    {
        return CName;
    }

    @Override
    public String toString() {
        return "ServerType{" +
                "id=" + id +
                ", CName='" + CName + '\'' +
                ", parentid=" + parentid +
                '}';
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }
}
